1. general description the lpc81xm are an arm cortex-m0+ based, low-cost 32-bit mcu family operating at cpu frequencies of up to 30 mhz. the lpc81xm support up to 16 kb of flash memory and 4 kb of sram. the peripheral co mplement of the lpc81xm in cludes a crc engine, one i 2 c-bus interface, up to three usarts, up to two spi interfaces, one multi-rate timer, self wake-up timer, and state-configurable timer, one co mparator, function-configurable i/o ports through a switch matrix, an input pattern match engine, and up to 18 general-purpose i/o pins. 2. features and benefits ? system: ? arm cortex-m0+ processor, running at frequencies of up to 30 mhz with single-cycle multiplier and fast single-cycle i/o port. ? arm cortex-m0+ built-in nested vectored interrupt controller (nvic). ? system tick timer. ? serial wire debug (swd) and jtag boundary scan modes supported. ? micro trace buffer (mtb) supported. ? memory: ? up to 16 kb on-chip flash programming memo ry with 64 byte page write and erase. ? up to 4 kb sram. ? rom api support: ? boot loader. ? usart drivers. ? i2c drivers. ? power profiles. ? flash in-application programming (iap) and in-system programming (isp). ? digital peripherals: ? high-speed gpio interface connected to th e arm cortex-m0+ io bus with up to 18 general-purpose i/o (gpio) pins with conf igurable pull-up/pu ll-down resistors, programmable open-drain mode, input inverter, and glitch filter. ? high-current source output driver (20 ma) on four pins. ? high-current sink driver (20 ma) on two true open-drain pins. ? gpio interrupt generation capability with boolean pattern-matching feature on eight gpio inputs. ? switch matrix for flexible config uration of each i/o pin function. lpc81xm 32-bit arm cortex-m0+ microcontrolle r; up to 16 kb flash and 4 kb sram rev. 4.3 ? 22 april 2014 product data sheet
lpc81xm all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights res erved. product data sheet rev. 4.3 ? 22 april 2014 2 of 76 nxp semiconductors lpc81xm 32-bit arm cortex-m0+ microcontroller ? state configurable timer/pwm (sctimer/pwm) with input and output functions (including capture and match) assigned to pins through the switch matrix. ? multiple-channel multi-rate timer (mrt) for repetitive interrupt generation at up to four programmable, fixed rates. ? self wake-up timer (wkt) clocked from either the irc or a low-power, low-frequency internal oscillator. ? crc engine. ? windowed watchdog timer (wwdt). ? analog peripherals: ? comparator with internal and external voltage references with pin functions assigned or enabled through the switch matrix. ? serial interfaces: ? three usart interfaces with pin functions assigned through the switch matrix. ? two spi controllers with pin functions assigned through the switch matrix. ? one i 2 c-bus interface with pin functions assigned through the switch matrix. ? clock generation: ? 12 mhz internal rc oscillator trimmed to 1. 5 % accuracy that can optionally be used as a system clock. ? crystal oscillator with an operating range of 1 mhz to 25 mhz. ? programmable watchdog osc illator with a frequency range of 9.4 khz to 2.3 mhz. ? 10 khz low-power oscillator for the wkt. ? pll allows cpu operation up to the maximum cpu rate without the need for a high-frequency crystal. may be run from the system oscilla tor, the external clock input clkin, or the internal rc oscillator. ? clock output function with divi der that can reflec t the crystal oscillator, the main clock, the irc, or the watchdog oscillator. ? power control: ? integrated pmu (power management unit) to minimize power consumption. ? reduced power modes: sleep mode, deep-sleep mode, power-down mode, and deep power-down mode. ? wake-up from deep-sleep and power-down modes on activity on usart, spi, and i2c peripherals. ? timer-controlled self wake-up from deep power-down mode. ? power-on reset (por). ? brownout detect. ? unique device serial number for identification. ? single power supply. ? operating temperature range ? 40 c to 105 c except for the dip8 package, which is available for a temperature range of ? 40 c to 85 c. ? available as dip8, tssop16, so 20, tssop20, a nd xson16 package. 3. applications ? 8/16-bit applications ? lighting ? consumer ? motor control ? climate control ? fire and security applications
lpc81xm all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights res erved. product data sheet rev. 4.3 ? 22 april 2014 3 of 76 nxp semiconductors lpc81xm 32-bit arm cortex-m0+ microcontroller 4. ordering information 4.1 ordering options table 1. ordering information type number package name description version lpc810m021fn8 dip8 plastic dual in-line package; 8 leads (300 mil) sot097-2 lpc811m001jdh16 tssop16 plastic thin shrink small ou tline package; 16 leads; body width 4.4 mm sot403-1 lpc812m101jdh16 tssop16 plastic thin shrink small ou tline package; 16 leads; body width 4.4 mm sot403-1 lpc812m101jd20 so20 plastic small outline package; 20 leads; body width 7.5 mm sot163-1 lpc812m101jdh20 tssop20 plastic thin shrink small ou tline package; 20 leads; body width 4.4 mm sot360-1 lpc812m101jtb16 xson16 plastic extremely thin sm all outline package; no leads; 16 terminals; body 2.5 ? 3.2 ? 0.5 mm sot1341-1 table 2. ordering options type number flash/kb sram/kb usart i 2 c-bus spi comparator gpio package lpc810m021fn8 4 1 2 1 1 1 6 dip8 lpc811m001jdh16 8 2 2 1 1 1 14 tssop16 lpc812m101jdh16 16 4 3 1 2 1 14 tssop16 lpc812m101jd20 16 4 2 1 1 1 18 so20 lpc812m101jdh20 16 4 3 1 2 1 18 tssop20 lpc812m101jtb16 16 4 3 1 2 1 14 xson16
lpc81xm all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights res erved. product data sheet rev. 4.3 ? 22 april 2014 4 of 76 nxp semiconductors lpc81xm 32-bit arm cortex-m0+ microcontroller 5. marking the lpc81xm devices typically have the following top-side marking: lpc81x xxxxx xxxxxxxx xxywwxr[x] the last two letters in the last line (field ?x r?) identify the boot code version and device revision. field ?y? states the year the device was manufactured. field ?ww? states the week the device was manufactured during that year. remark: on the tssop16 package, the last line includes only the date code xxyww. table 3. device revision table revision identifier (xr) revision description ?1a? initial device revision with boot code version 13.1 ?2a? device revision with boot code version 13.2 ?4c? device revision with boot code version 13.4
lpc81xm all information provided in this document is subject to legal disclaimers. ? nxp semiconductors n.v. 2014. all rights res erved. product data sheet rev. 4.3 ? 22 april 2014 5 of 76 nxp semiconductors lpc81xm 32-bit arm cortex-m0+ microcontroller 6. block diagram fig 1. lpc81xm block diagram 6 5 $ 0 n % $ 5 0 & |